﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace NyMPH.Dialogs
{
    public partial class frmKeywordEdit : Form
    {
        public frmKeywordEdit()
        {
            InitializeComponent();
        }

        private void tbKeywordBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.tbKeywordBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.dSNyMPH);

        }

        private void frmKeywordEdit_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'dSNyMPH.tbKeyword' table. You can move, or remove it, as needed.
            this.tbKeywordTableAdapter.Fill(this.dSNyMPH.tbKeyword);
            // TODO: This line of code loads data into the 'dSNyMPH.tbKeyword' table. You can move, or remove it, as needed.
            this.tbKeywordTableAdapter.Fill(this.dSNyMPH.tbKeyword);
            // TODO: This line of code loads data into the 'dSNyMPH.tbKeyword' table. You can move, or remove it, as needed.
            this.tbKeywordTableAdapter.Fill(this.dSNyMPH.tbKeyword);

        }

        private void tbKeywordBindingNavigatorSaveItem_Click_1(object sender, EventArgs e)
        {
            this.Validate();
            this.tbKeywordBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.dSNyMPH);

        }

        private void tbKeywordBindingNavigatorSaveItem_Click_2(object sender, EventArgs e)
        {
            this.Validate();
            this.tbKeywordBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.dSNyMPH);

        }
    }
}
